/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package workforce.limousine.service;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 *
 * @author krisada
 */
public interface Searcher {

    public void setConnection(Connection ds);

    public ResultSet search(int offset, int limit, Object[] params) throws SQLException;

    public String getOutColumns();

    public void setOutColumns(String outColumns);

    public String getTableName();

    public void setTableName(String tableName);

    public String[] getWhereColumns();

    public void setWhereColumns(String[] whereColumns);
}
